/** 底部操作框 */

<script setup>
const { safeAreaInsets } = uni.getSystemInfoSync()
</script>

<template>
  <view class="bottom-operate-box" :style="{ paddingBottom: safeAreaInsets?.bottom + 'rpx' }">
    <view class="py-16rpx px-24rpx">
      <slot />
    </view>
  </view>
</template>

<style lang="scss" scoped>
.bottom-operate-box {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
}
</style>
